/**
 * Copyright &copy; 2012-2016 <a href="https://shop450532966.taobao.com/">NumberOne</a> All rights reserved.
 */
package com.numberone.master.modules.sys.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.numberone.master.common.persistence.CrudDao;
import com.numberone.master.common.persistence.annotation.MyBatisDao;
import com.numberone.master.modules.sys.entity.Dict;
import com.numberone.master.modules.sys.entity.DictInfo;

/**
 * 字典DAO接口
 * @author numberone
 * @version 2014-05-16
 */
@MyBatisDao
public interface DictDao extends CrudDao<Dict> {

	public List<String> findTypeList(Dict dict);
	/**
	 * 查询去除重复的数据
	 * @param type 类型
	 * @param value 键值
	 * @return
	 */
	public List<DictInfo> getNotDictList(@Param("type")String type,@Param("value")String value);
	
	public DictInfo getNotDictIno(@Param("type")String type,@Param("value")String value);
	
	
}
